//
//  PersonInfoModel.h
//  ppkc2016
//
//  Created by 拼凑的断音 on 16/3/25.
//  Copyright © 2016年 拼凑的断音. All rights reserved.
//

#import "NormalReturnModel.h"
#import "XXTool.h"

@interface PersonInfoModel : NormalReturnModel

@property (nonatomic,strong) NSString* username;  /**< 姓名*/

@property (nonatomic,strong) NSString* userphone; /**< 电话*/

@property (nonatomic,strong) NSString* usermail; /**< 邮箱*/

@property (nonatomic,strong) NSString* cpname; /**< 公司名*/

@property (nonatomic,strong) NSString* userposition; /**< 职位*/

@property (nonatomic,strong) NSString* interesting_zh; /**< 类别  中文*/

@property (nonatomic,strong) NSString* interesting_en; /**< 类别  英文*/

@property (nonatomic,strong) NSString* leibie_index; /**< 类别索引*/

@property (nonatomic,strong) NSString* usergh; /**< 固话 */

@property (nonatomic,strong) NSString* usercountry; /**< 国家*/

@property (nonatomic,strong) NSString* usercity; /**< 城市*/

@property (nonatomic,strong) NSString* usersex; /**< 性别*/

@property (nonatomic,strong) NSString* useradress; /**< 地址*/

@property (nonatomic,strong) NSString* userfax; /**< 传真*/

@property (nonatomic,strong) NSString* head_img; /**< 头像URL*/

@property (nonatomic,strong) UIImage* headImage; /**< 头像view*/;

/**
 *  登记用户信息
 *
 *  @param bookInfo 用户信息
 *  @param block    block
 */
+(void)personInfoBook:(PersonInfoModel*)bookInfo completion:(void(^)(BOOL isSuccess))block;

/**
 *  获取个人资料
 *
 *  @param block block
 */
+(void)getPersonInfoWithCompletion:(void(^)(PersonInfoModel* info))block;

@end
